﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ComponentModel;
using ITAP.ShprossesBuilder.ShprossesPropertyGrid.ComponentsProxy;
using ITAP.ShprossesBuilder.Modelling.Components;
using ITAP.ShprossesBuilder;

namespace ITAP.Shprosses.CustomPropertyGrid.ComponentsProxy
{
    public class SnapOnCapProxy : Proxy
    {
        private SnapOnCap snapOnCap;
        public SnapOnCapProxy(SnapOnCap snapOnCap, MainControl mainControl)
            : base(mainControl)
        {
            this.snapOnCap = snapOnCap;
        }

        [Category("Общие свойства"), DisplayName("Артикул")]
        [ReadOnly(true)]
        public string Article
        {
            get { return this.snapOnCap.Article; }
        }
    }
}
